{extend name="base" /}
{block name="js"}
<script src="__INDEX__/goods/goods.js?v={$v}" type="text/javascript"></script>
{/block}
{block name="main"}
<div class="l-loading" style="display: block" id="htr-loading"></div>
<div class="htr-toolbar">
	<div class='f-left tbr-m'>产品：</div>
	<input type="text" name="goodsName"  placeholder='产品名称/产品编号' id="goodsName" class='j-ipt'/>
	<button class="btn btn-blue" onclick='javascript:loadGrid()'>查询</button>
   {if HTRGrant('SPGL_02') && $staffRoleId == 1}<button class="btn btn-green f-right" onclick='javascript:toEdit(0)'>新增</button>{/if}
	<div style='clear:both'></div>
</div>
<div id="maingrid"></div>
<script>
$(function(){initGrid({$staffRoleId});})
</script>
{/block}